package com.uduew.sjd.api;

import static com.uduew.sjd.config.Const.ADD_BANK_INFO;

import androidx.annotation.NonNull;

import com.hjq.http.config.IRequestApi;
import com.hjq.http.config.IRequestBodyStrategy;
import com.hjq.http.config.IRequestType;
import com.hjq.http.model.RequestBodyType;


public class AddBankInfoApi implements IRequestApi, IRequestType {


    private ReqAddBankInfoBean overripe;

    public AddBankInfoApi(ReqAddBankInfoBean overripe) {
        this.overripe = overripe;
    }

    @NonNull
    @Override
    public String getApi() {
        return ADD_BANK_INFO;
    }

    /**
     * 获取参数的提交类型
     */
    @NonNull
    @Override
    public IRequestBodyStrategy getBodyType() {
        return RequestBodyType.JSON;
    }

    public static final class ReqAddBankInfoBean {

        private String aerification;
        private String melaleuca;
        private String cum;

        public void setAerification(String aerification) {
            this.aerification = aerification;
        }

        public void setMelaleuca(String melaleuca) {
            this.melaleuca = melaleuca;
        }

        public void setCum(String cum) {
            this.cum = cum;
        }
    }

}

